Skip to main content

ModifyTargetConfig

Description

modify the vulnerability scanning configuration of the specified host asset.

Request Method

POST

Request Path

/apsara/route/aegis/ModifyTargetConfig

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
TypeBODYstringNoNo sample value for this parameter.vulnerability classification.
UuidBODYstringNoNo sample value for this parameter.host asset UUID.
regionIdBODYstringYesNo sample value for this parameter.region id
ConfigBODYstringNoNo sample value for this parameter.vulnerability scanning configuration, value range: on: indicates that is turned on off: indicates off
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstringno demo valuerequest ID.

Example

Successful Response example

{
"RequestId":"no demo value"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}